Skip to content

Add support for Junie#1831

Open
preigile wants to merge 2 commits intogithub:mainfrom
preigile:support_junie
Open

Add support for Junie#1831
preigile wants to merge 2 commits intogithub:mainfrom
preigile:support_junie

Conversation

@preigile
Copy link

Description

Adds support for Junie, an AI agent from JetBrains

Testing

  • Tested locally with uv run specify --help
  • Ran existing tests with uv sync && uv run pytest
  • Tested with a sample project (if applicable)

AI Disclosure

  • I did not use AI assistance for this contribution
  • I did use AI assistance (describe below)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Junie as a supported AI agent throughout Specify CLI’s initialization/configuration surfaces, along with documentation, packaging, and devcontainer updates so Junie templates can be generated and released consistently.

Changes:

  • Add junie to runtime agent configuration (AGENT_CONFIG) so specify init --ai junie is supported.
  • Update agent-context update scripts (bash/PowerShell) and release packaging scripts to include Junie artifacts.
  • Update docs (README + AGENTS.md) and devcontainer provisioning to reflect/install Junie.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/specify_cli/__init__.py Adds Junie to core agent metadata used by specify init and tool-check logic.
scripts/powershell/update-agent-context.ps1 Adds Junie to supported agent types for context updates.
scripts/bash/update-agent-context.sh Adds Junie to supported agent types for context updates.
README.md Documents Junie as a supported agent and updates CLI option examples/tool-check list.
AGENTS.md Documents Junie in the supported agent table and categorization lists.
.github/workflows/scripts/create-release-packages.sh Generates Junie template packages in .junie/commands.
.github/workflows/scripts/create-release-packages.ps1 PowerShell equivalent Junie packaging support.
.github/workflows/scripts/create-github-release.sh Publishes Junie zip artifacts in the GitHub release step.
.devcontainer/post-create.sh Installs Junie CLI in the devcontainer setup.
Comments suppressed due to low confidence (1)

scripts/bash/update-agent-context.sh:725

  • This block updates $AGENTS_FILE (AGENTS.md) earlier and then updates $JUNIE_FILE as well, but $JUNIE_FILE currently resolves to the same AGENTS.md path. That results in two sequential updates to the same file in one run, which can introduce duplicate "Recent Changes" entries. Ensure Junie uses a distinct context file path, or remove this second update when the target is shared.

    if [[ -f "$JUNIE_FILE" ]]; then
        update_agent_file "$JUNIE_FILE" "Junie"
        found_agent=true
    fi

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@mnriem mnriem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address Copilot feedback and resolve conflicts

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds first-class support for the Junie agent across the Specify CLI’s agent configuration, command registration, documentation, devcontainer setup, and release packaging scripts.

Changes:

  • Register Junie as a supported agent (CLI config + extension command directory/format metadata).
  • Update agent context update scripts (bash + PowerShell) and documentation to include Junie.
  • Include Junie in release package generation and GitHub release artifact lists; install Junie CLI in the devcontainer.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/specify_cli/extensions.py Adds Junie to extension command registrar config (.junie/commands, markdown).
src/specify_cli/__init__.py Adds Junie to AGENT_CONFIG so specify init/check recognize it.
scripts/powershell/update-agent-context.ps1 Adds Junie support to agent context update flow and CLI arg validation.
scripts/bash/update-agent-context.sh Adds Junie support to agent context update flow and help text.
README.md Documents Junie as a supported agent and includes it in CLI usage/examples.
AGENTS.md Documents Junie integration details and updates supported-agent lists.
.github/workflows/scripts/create-release-packages.sh Generates Junie template packages and includes it in the agent list.
.github/workflows/scripts/create-release-packages.ps1 Generates Junie template packages and includes it in the agent list.
.github/workflows/scripts/create-github-release.sh Uploads Junie template zips as part of GitHub releases.
.devcontainer/post-create.sh Installs Junie CLI in the devcontainer setup.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@preigile preigile requested a review from mnriem March 17, 2026 16:54
@mnriem mnriem requested a review from Copilot March 17, 2026 17:23
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds Junie (JetBrains) as a supported AI agent across the Specify CLI, agent-context update scripts, release packaging scripts, and documentation.

Changes:

  • Add junie to the CLI agent configuration and supported-agent documentation.
  • Update bash/PowerShell agent-context update scripts to recognize Junie and write/update a Junie-specific context file.
  • Update release packaging workflows to generate Junie template artifacts; install Junie CLI in the devcontainer.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/specify_cli/init.py Adds Junie to runtime agent configuration (init/check).
scripts/powershell/update-agent-context.ps1 Adds Junie handling for context file updates.
scripts/bash/update-agent-context.sh Adds Junie handling for context file updates.
README.md Documents Junie as supported and updates CLI reference/examples.
AGENTS.md Documents Junie in supported agent matrix and tool requirements.
.github/workflows/scripts/create-release-packages.sh Generates Junie release templates.
.github/workflows/scripts/create-release-packages.ps1 Generates Junie release templates (PowerShell).
.github/workflows/scripts/create-github-release.sh Uploads Junie template zip artifacts to GitHub Releases.
.devcontainer/post-create.sh Installs Junie CLI in the devcontainer environment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

#
# Usage: ./update-agent-context.sh [agent_type]
# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|kimi|trae|generic
# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|junie|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|generic
if ($NEW_DB -and $NEW_DB -ne 'N/A') { Write-Host " - Added database: $NEW_DB" }
Write-Host ''
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|generic]'
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|junie|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|generic]'
Comment on lines +187 to +191
"junie": {
"name": "Junie",
"folder": ".junie/",
"commands_subdir": "commands",
"install_url": "https://junie.jetbrains.com/",
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Collaborator

@mnriem mnriem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address Copilot feedback. If not applicable please explain why

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Junie (JetBrains) as a supported agent across the Specify CLI, project scaffolding/release packaging, and documentation so users can generate Junie command templates and related context files consistently.

Changes:

  • Added junie to the CLI agent registry (AGENT_CONFIG) and documented it in README.md / AGENTS.md.
  • Extended agent-context update scripts (bash + PowerShell) to recognize and update Junie’s context file.
  • Updated release packaging scripts (sh + ps1) and GitHub release artifact list to build/publish Junie template zips; updated devcontainer setup to install Junie CLI.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/specify_cli/__init__.py Registers junie in AGENT_CONFIG for specify init / tool detection.
scripts/powershell/update-agent-context.ps1 Adds Junie to supported agent set and updates .junie/AGENTS.md.
scripts/bash/update-agent-context.sh Adds Junie support and path for .junie/AGENTS.md.
README.md Documents Junie as a supported agent and updates CLI option examples.
AGENTS.md Documents Junie in the supported agent matrix and CLI tool requirements.
.github/workflows/scripts/create-release-packages.sh Builds Junie template archives with generated command files.
.github/workflows/scripts/create-release-packages.ps1 PowerShell equivalent packaging support for Junie.
.github/workflows/scripts/create-github-release.sh Publishes Junie template zips in GitHub releases.
.devcontainer/post-create.sh Installs Junie CLI in the devcontainer setup.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +187 to +193
"junie": {
"name": "Junie",
"folder": ".junie/",
"commands_subdir": "commands",
"install_url": "https://junie.jetbrains.com/",
"requires_cli": True,
},
#
# Usage: ./update-agent-context.sh [agent_type]
# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|kimi|trae|generic
# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|junie|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|generic
if ($NEW_DB -and $NEW_DB -ne 'N/A') { Write-Host " - Added database: $NEW_DB" }
Write-Host ''
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|generic]'
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|junie|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|generic]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants